package com.CST.controller.cb;


import com.CST.common.api.ResultObject;
import com.CST.entity.cb.EtlDepreciation;
import com.CST.service.cb.IEtlDepreciationService;
import io.swagger.annotations.*;
import org.springframework.beans.factory.annotation.*;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RestController;

/**
* @author ly
* @since 2022-01-24
*/
@Api(tags = {"折旧数据"})
@RestController
@RequestMapping("/etlDepreciation")

    public class EtlDepreciationController {

    @Autowired
    private IEtlDepreciationService targetService;

    @PostMapping("/getEtlDepreciationSource")
    @ApiOperation("获取折旧数据")
    public ResultObject getEtlDepreciationSource(@RequestBody EtlDepreciation entity){
        return targetService.getEtlDepreciationSource(entity);
    }

}

